﻿using GroupMeal.Foods;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace GroupMeal.Menus
{
    /// <summary>
    /// 菜单排班详情
    /// </summary>
    public class ScheduleDetail:AuditedEntity<Guid >,IMultiTenant
    {

        /// <summary>
        /// 租户ID
        /// </summary>
        public virtual Guid? TenantId
        {
            get;set;
        }

        
        // 作为早餐时对应的菜单表Id
        public virtual Guid? BreakfastScheduleId
        {
            get;set;
        }

        // 作为早餐时对应的菜单表
        public virtual Schedule? BreakfastSchedule
        {
            get;set;
        }

        // 作为午餐时对应的菜单表Id
        public virtual Guid? LaunchScheduleId
        {
            get;set;
        }

        // 作为午餐时对应的菜单表
        public virtual Schedule? LaunchSchedule
        {
            get;set;
        }

        // 作为晚餐时对应的菜单id
        public virtual Guid? DinnerScheduleId
        {
            get;set;
        }

        // 作为晚餐时对应的菜单
        public virtual Schedule? DinnerSchedule
        {
            get;set;
        }

        /// <summary>
        /// 菜品Id
        /// </summary>
        public virtual Guid FoodId
        {
            get;set;
        }

        /// <summary>
        /// 菜品
        /// </summary>
        public virtual MerchantFood Food
        {
            get;set;
        }

        /// <summary>
        /// 菜品类型
        /// </summary>
        public virtual MerchantFoodType FoodType
        {
            get;set;
        }

        /// <summary>
        /// 周几
        /// </summary>
        public virtual DayInWeek DayInWeek
        {
            get;set;
        }

        /// <summary>
        /// 餐别
        /// </summary>
        public virtual MealType MealType
        {
            get;set;
        }

    }
}
